package com.example.administrator.yuejian_2.interservice;

import com.example.administrator.yuejian_2.bean.OrderAddBean;
import com.example.administrator.yuejian_2.bean.OrderDetailBean;

import retrofit2.Call;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/18.
 */

public interface OrderService {
    @POST ("order/orderadd")
    Call<OrderAddBean> orderadd(@Query("uid") int uid,
                                @Query("acid") int acid,
                                @Query("amount") int amount,
                                @Query("payway") String payway);

    @POST("order/orderdetail")
    Call<OrderDetailBean> orderdetail(@Query("oid") int oid);
}
